// 完整的checkAPIStatus函数
    const checkAPIStatus = async () => {
      apiStatus.value = { status: '正在检查...' };
      
      try {
        // 获取token
        const token = localStorage ? localStorage.getItem('token') || '' : '';
        
        // 使用原始的fetch API避免被拦截器处理
        const response = await fetch('https://zmyzmy.xin/api/auth/status', {
          headers: {
            'Authorization': `Bearer ${token}`
          }
        });
        
        if (response.ok) {
          const data = await response.json();
          apiStatus.value = data;
          ElMessage.success('API状态检查成功');
        } else {
          apiStatus.value = { 
            status: 'error', 
            statusCode: response.status,
            statusText: response.statusText 
          };
          
          try {
            const errorData = await response.json();
            apiStatus.value.errorData = errorData;
          } catch (e) {
            // 忽略解析错误
          }
          
          ElMessage.error(`API状态检查失败: ${response.status} ${response.statusText}`);
        }
      } catch (error) {
        apiStatus.value = { 
          status: 'error', 
          message: error.message 
        };
        ElMessage.error(`API状态检查出错: ${error.message}`);
      }
    };
